/* 
 * iTrendForce Website Styles
 * Modern, responsive design with marketing focus
 */

/* ===== Base Styles ===== */
:root {
    /* Primary Colors */
    --color-primary: #5A287D;
    --color-secondary: #0078D7;
    --color-white: #F8F9FA;
    
    /* Secondary Colors */
    --color-teal: #00A99D;
    --color-coral: #FF6B6B;
    --color-light-gray: #E9ECEF;
    
    /* Accent Colors */
    --color-gold: #FFD700;
    --color-green: #28A745;
    
    /* Text Colors */
    --color-text-dark: #212529;
    --color-text-medium: #495057;
    --color-text-light: #6C757D;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-secondary);
}

.section-header p {
    color: var(--color-text-medium);
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #0062b1;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background-color: #4a2068;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: white;
}

.btn-text {
    background-color: transparent;
    color: var(--color-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.btn-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width var(--transition-medium);
}

.btn-text:hover {
    color: var(--color-secondary);
}

.btn-text:hover:after {
    width: 100%;
}

.btn-text i {
    margin-left: var(--spacing-xs);
    transition: transform var(--transition-fast);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 var(--spacing-sm);
}

.nav-link {
    display: block;
    padding: 0.5rem var(--spacing-sm);
    color: var(--color-text-dark);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    height: 2px;
    background-color: var(--color-secondary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-medium);
    z-index: 100;
    list-style: none;
    padding: var(--spacing-sm) 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem var(--spacing-md);
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions .btn {
    margin-left: var(--spacing-md);
}

.search-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-dark);
    cursor: pointer;
    margin-left: var(--spacing-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background-color: #f8f9fa;
    overflow: hidden;
	margin-bottom: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;		/* original = 1, place behind content */
	margin: 0;
	padding: 0;
}

.animated-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/particles-bg.svg');
    background-size: cover;
    opacity: 0.1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== Services Section ===== */
.services {
    padding: var(--spacing-xxl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
}

/* ===== Value Proposition ===== */
.value-proposition {
    padding: var(--spacing-xxl) 0;
    background-color: #f8f9fa;
}

.value-proposition .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.value-content {
    flex: 1;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.value-item {
    display: flex;
    flex-direction: column;
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(90, 40, 125, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.value-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.value-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== ROI Calculator ===== */
.roi-calculator {
    padding: var(--spacing-xxl) 0;
}

.calculator-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calculator-form {
    flex: 1;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-sm);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.calculate-btn {
    margin-top: var(--spacing-md);
    width: 100%;
}

.calculator-results {
    flex: 1;
    padding: var(--spacing-xl);
    background-color: var(--color-primary);
    color: white;
}

.calculator-results h3 {
    color: white;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.results-placeholder {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.result-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item h4 {
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.result-item.total {
    margin-top: var(--spacing-lg);
}

.result-item.total .result-value {
    font-size: 2rem;
    color: var(--color-gold);
}

.roi-cta {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.roi-cta p {
    margin-bottom: var(--spacing-md);
}

/* ===== Case Studies ===== */
.case-studies {
    padding: var(--spacing-xxl) 0;
    background-color: #f8f9fa;
}

.case-study-card {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.case-study-image {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    flex: 1;
    padding: var(--spacing-xl);
}

.client-logo {
    height: 40px;
    margin-bottom: var(--spacing-md);
}

.client-logo img {
    height: 100%;
}

.case-study-metrics {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.metric {
    flex: 1;
    text-align: center;
    padding: var(--spacing-sm);
    background-color: rgba(0, 120, 215, 0.1);
    border-radius: var(--border-radius-sm);
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text-medium);
}

.case-studies-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-lg);
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-medium);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--color-primary);
}

.slider-dots {
    display: flex;
    gap: var(--spacing-xs);
    margin: 0 var(--spacing-md);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-light-gray);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--color-secondary);
}

.case-studies-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===== Testimonials ===== */
.testimonials {
    padding: var(--spacing-xxl) 0;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    color: var(--color-secondary);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-md);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    margin-bottom: 0;
    color: var(--color-text-medium);
    font-size: 0.875rem;
}

.testimonial-author .client-logo {
    height: 30px;
    margin-left: auto;
    margin-bottom: 0;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-lg);
}

/* ===== Latest Insights ===== */
.latest-insights {
    padding: var(--spacing-xxl) 0;
    background-color: #f8f9fa;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.insight-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-image {
    height: 200px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-teal);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    margin: var(--spacing-md) var(--spacing-md) 0;
}

.insight-card h3 {
    padding: 0 var(--spacing-md);
    margin-top: var(--spacing-xs);
    font-size: 1.25rem;
}

.insight-card p {
    padding: 0 var(--spacing-md);
    color: var(--color-text-medium);
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.insight-card .btn {
    margin: 0 var(--spacing-md) var(--spacing-md);
}

.insights-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===== Contact CTA ===== */
.contact-cta {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-primary);
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.cta-note {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-note a {
    color: white;
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background-color: #212529;
    color: white;
    padding-top: var(--spacing-xxl);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--spacing-md);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    display: flex;
    justify-content: space-between;
}

.footer-nav-column h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.footer-nav-column h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-nav-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-nav-column a:hover {
    color: white;
}

.footer-contact h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: var(--spacing-xs);
    color: var(--color-secondary);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal li {
    margin-left: var(--spacing-md);
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

/* ===== Newsletter Popup ===== */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-content {
    position: relative;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
}

.close-popup {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.close-popup:hover {
    color: var(--color-text-dark);
}

.newsletter-form {
    margin-top: var(--spacing-lg);
}

.privacy-note {
    margin-top: var(--spacing-md);
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: center;
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 900;
}

.chat-toggle {
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.chat-toggle:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.chat-toggle i {
    margin-right: var(--spacing-sm);
    font-size: 1.25rem;
}

.chat-container {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .value-proposition .container {
        flex-direction: column;
    }
    
    .value-image {
        order: -1;
        margin-bottom: var(--spacing-xl);
    }
    
    .calculator-wrapper {
        flex-direction: column;
    }
    
    .case-study-card {
        flex-direction: column;
    }
    
    .case-study-image {
        min-height: 200px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-logo,
    .footer-contact {
        text-align: center;
    }
    
    .footer-nav {
        justify-content: space-around;
    }
    
    .footer-contact h4:after,
    .footer-nav-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: var(--spacing-sm);
        justify-content: center;
    }
    
    .footer-legal li:first-child {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .insights-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .case-study-metrics {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .testimonial-author {
        flex-wrap: wrap;
    }
    
    .testimonial-author .client-logo {
        margin-left: 0;
        margin-top: var(--spacing-sm);
    }
	
	.service-card p.special {
		color: var(--brand-color);
		font-style: italic;
	}
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .btn {
        width: 100%;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .chat-toggle span {
        display: none;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .chat-toggle i {
        margin-right: 0;
    }
    
    .chat-container {
        width: 300px;
        right: 0;
    }
}
